sanitizeByThrowing

Convenient method for throwing a SecurityException when unwanted members of the input intent is encountered.

Return

a copy of the input intent if the input intent does not contain any unwanted members.

Parameters

in

input intent

Throws

if the input intent contains any unwanted members.